﻿<!-- #include file="function.asp" -->
<%

'注册插件
Call RegisterPlugin("MovableType","ActivePlugin_MovableType")

Function ActivePlugin_MovableType()
	
End Function

Function mt_Path(name,p)
  Dim path
  path = IIf(p = "url",BlogHost,BlogPath)
  path = path & "zb_users\PLUGIN\MovableType\"
  Select Case name
    Case "api"
      path = path & "api.asp"
    Case "Main"
      path = path & "Main.asp"
  End Select
  If p = "url" Then
    path = Replace(path,"\","/")
  End If
  mt_Path = path
End Function


'安装插件
Function InstallPlugin_MovableType
  Dim mt_cfg
  Set mt_cfg = New TConfig
  mt_cfg.Load "MovableType"
  If mt_cfg.Exists("ver")=False Then
    mt_cfg.Write "ver","1.0"
    mt_cfg.Write "lasTime",0
    mt_cfg.Save
  End If
End Function

'卸载插件
Function UnInstallPlugin_MovableType

End Function

%>